//
//  Common.swift
//  weiBo
//
//  Created by 杨雷 on 2016/12/4.
//  Copyright © 2016年 Yang.L. All rights reserved.
//

import UIKit

let SwitchRootVCNotificationName = "SwitchRootVCNotificationName"

//屏幕宽 gao
let screenWidth = UIScreen.main.bounds.size.width
let screenHeight = UIScreen.main.bounds.size.height



func RandomColor () -> UIColor {
    
    let redRan = arc4random() % 256
    let greenRan = arc4random() % 256
    let blueRan = arc4random() % 256
    
    return UIColor(red: CGFloat(redRan)/255, green: CGFloat(greenRan)/255, blue: CGFloat(blueRan)/255, alpha: 1)
    
    
}
